package com.maibow.entity.weixin;

/**
 * 微信通用接口凭证
 * 
 * @author zhanglei
 */
public class OpenIdInfo {
    // 获取到的凭证
    private String accessToken;

    // 凭证有效时间，单位：s
    private int expiresIn;

    private String refreshToken;

    private String openId;

    private String scope;

    /**
     * refreshToken
     *
     * @return the refreshToken
     * @since 1.0.0
     */

    public String getRefreshToken() {
        return refreshToken;
    }

    /**
     * @param refreshToken
     *            the refreshToken to set
     */
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    /**
     * openId
     *
     * @return the openId
     * @since 1.0.0
     */

    public String getOpenId() {
        return openId;
    }

    /**
     * @param openId
     *            the openId to set
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }

    /**
     * scope
     *
     * @return the scope
     * @since 1.0.0
     */

    public String getScope() {
        return scope;
    }

    /**
     * @param scope
     *            the scope to set
     */
    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }
}